# -*- coding: utf-8 -*-
# File : transport_order.py
# Author: taoyahui
# Date : 2021/10/17
from datetime import datetime

class TransportOrder:
    order_no = 0
    transport_no = 0
    order_type = 0
    num = 0
    from_place = ''
    to_place = ''
    update_time = datetime.now()
    user_address = ''

    def __init__(self, order_no, transport_no, order_type, num, from_place, to_place, update_time, user_address):
        self.order_no = order_no
        self.transport_no = transport_no
        self.order_type = order_type
        self.num = num
        self.from_place = from_place
        self.to_place = to_place
        self.update_time = update_time
        self.user_address = user_address
